/* Sidebar 侧边栏样式 */
.sidebar {
  width: 200px;
  background: #00162a;
  border-right: 1px solid #0a2340;
  transition: width 0.2s;
  position: relative;
  color: #fff;
  min-width: 40px;
  z-index: 2;
  margin-top: 0;
}
.sidebar.collapsed {
  width: 40px;
}
.sidebar .collapse-btn {
  position: static;
  width: 30px;
  height: 30px;
  background: #fff2;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  margin: 0 auto;
  display: block;
}
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0; 
}
.sidebar li {
  padding: 16px 24px;
  cursor: pointer;
  font-size: 16px;
  color: #fff;
  transition: background 0.2s, color 0.2s;
  border-radius: 6px 0 0 6px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}
.sidebar li .icon {
  margin-right: 8px;
}
.sidebar li.active {
  background: #0a2340;
  color: #4fc3f7;
  font-weight: bold;
}
.sidebar li:hover {
  background: #17375e;
  color: #4fc3f7;
}
